package com.dupf.product.dao.mapper;

import com.dupf.product.dao.model.ProductSalePriceSetting;
import com.dupf.product.dao.model.ProductSalePriceSettingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductSalePriceSettingMapper {
    long countByExample(ProductSalePriceSettingExample example);

    int deleteByExample(ProductSalePriceSettingExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductSalePriceSetting record);

    int insertSelective(ProductSalePriceSetting record);

    List<ProductSalePriceSetting> selectByExample(ProductSalePriceSettingExample example);

    ProductSalePriceSetting selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductSalePriceSetting record, @Param("example") ProductSalePriceSettingExample example);

    int updateByExample(@Param("record") ProductSalePriceSetting record, @Param("example") ProductSalePriceSettingExample example);

    int updateByPrimaryKeySelective(ProductSalePriceSetting record);

    int updateByPrimaryKey(ProductSalePriceSetting record);
}